package com.cloud.nacos_config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author zheny
 *
 * @RefreshScope 自动刷新配置文件
 * @Value 获取配置文件中的值
 *
 *  注意！！！！！！！！
 *      版本依赖关系，最新alibaba 2.2.5.RELEASE，springcloud Spring Cloud Hoxton.SR8  ，springboot 2.3.2.RELEASE
 */
@SpringBootApplication
@EnableDiscoveryClient
public class NacosConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(NacosConfigApplication.class, args);
    }

}
